package cn.csc.module.distribute.convert.audit;

import java.util.*;

import cn.csc.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.csc.module.distribute.controller.admin.audit.vo.*;
import cn.csc.module.distribute.dal.dataobject.audit.DistributorAuditDO;

/**
 * 分销员审核记录 Convert
 *
 * @author liuchuang
 */
@Mapper
public interface DistributorAuditConvert {

    DistributorAuditConvert INSTANCE = Mappers.getMapper(DistributorAuditConvert.class);

    DistributorAuditDO convert(DistributorAuditCreateReqVO bean);

    DistributorAuditDO convert(DistributorAuditUpdateReqVO bean);

    DistributorAuditRespVO convert(DistributorAuditDO bean);

    List<DistributorAuditRespVO> convertList(List<DistributorAuditDO> list);

    PageResult<DistributorAuditRespVO> convertPage(PageResult<DistributorAuditDO> page);

    List<DistributorAuditExcelVO> convertList02(List<DistributorAuditDO> list);

}
